#include "Informant.h"
#include <stdio.h>
#include <string.h>
#include <stdarg.h>

void Informant::Log(char* Where, char* msgFormat, ...)
{
#if _DEBUG	// Logging only works in debug
	printf("%s", Where);

	va_list Message;
	va_start(Message, msgFormat);
	vprintf_s(msgFormat, Message);
	va_end(Message);

	printf("\n"); // Just to get everything on a new line
#endif
}